<template>
	<view class="card">
		<view class="card-container flex padding padding-left-lg align-center">
			<view class="icon">
				<image class="icon-container" :src="src"></image>
			</view>
			<view>{{label}}</view>
		</view>
	</view>
</template>

<script>
	export default {
		name: "function-card-item",
		props: {
			label: {
				type: String,
				required: true
			},
			src:{
				type: String,
				required: true
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.card {
		.card-container {
			font-size: 1.1em;

			.icon {
				display: flex;
				margin-right: 30upx;

				.icon-container {
					width: 45upx;
					height: 45upx;
				}
			}

		}
	}
</style>
